﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACC.Data.Entities.Mes
{
    /// <summary>
    /// MES实际配送的物料实体类
    /// </summary>
    public class MESBomItemInfo
    {
        // <summary>
        /// 工厂代码
        /// </summary>
        public string factory { get; set; }

        // <summary>
        /// 订单号
        /// </summary>
        public string order_code { get; set; }

        // <summary>
        /// 配送单号
        /// </summary>
        public string deliveryNo { get; set; }

        /// <summary>
        /// 物料详情
        /// </summary>
        public List<BomItem> Detail { get; set; }
    }

    /// <summary>
    /// 物料详情实体类
    /// </summary>
    public class BomItem
    {
        // <summary>
        /// 物料编码
        /// </summary>
        public string item_code { get; set; }

        // <summary>
        /// 物料批次号
        /// </summary>
        public string skuClass { get; set; }

        // <summary>
        /// 实际配送数量
        /// </summary>
        public decimal qtyShipEa { get; set; }
    }
}
